import { Component, Vue } from "vue-property-decorator";
import { Season } from "@/types/season";
import callCloudFn from "@/utils/callCloudFn";
@Component
export default class extends Vue {
  seasons: any[];
  async onLoad() {
    try {
      let res = await callCloudFn("get_seasons", {});
      this.$$mutations.updateSeasons(res);
    } catch (error) {}
  }
}
